package com.jeesite.modules.kj.api.vo.response;

import com.jeesite.modules.kj.entity.KjActivity;
import com.jeesite.modules.kj.entity.KjActivityJob;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.BeanUtils;

import java.math.BigDecimal;

@Data
public class ActivityJobResponseVo {

    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "岗位名称")
    private String jobName;

    @ApiModelProperty(value = "限制人数")
    private Long limitNum;

    @ApiModelProperty(value = "已报名人数")
    private Long attentionNum;

    @ApiModelProperty(value = "已审核通过人数")
    private Long approvedNum;

    @ApiModelProperty(value = "服务时长")
    private BigDecimal serviceTime;

    @ApiModelProperty(value = "可获得积分")
    private BigDecimal integrals;


    @ApiModelProperty(value = "岗位介绍")
    private String remarks;



    public ActivityJobResponseVo() {
    }

    public ActivityJobResponseVo(KjActivityJob kjActivityJob) {
        BeanUtils.copyProperties(kjActivityJob, this);
    }
}
